package Week3.num.week3Test1.method;

import java.util.Scanner;

public class Test01 {
    public static void main(String[] args) {
        double r;
        Scanner sc = new Scanner(System.in);
        r = sc.nextDouble();

        System.out.println(perimeter(r));
        System.out.println(area(r));

    }

    public static double perimeter(double r){
        return 2*Math.PI*r;
    }
    public static double area(double r){
        return Math.pow(r,2)*Math.PI;
    }
}
